@echo off
set "rootdir=%cd%"
::echo %rootdir%

set "logdir=%rootdir%\log"
::echo %logdir%

set LIBS=libs
set PUB_LIB=

set cp=.
FOR %%c IN (%LIBS%\*.jar) DO (
	CALL setcp.bat %%c
)

set PUB_LIB=%cp%
::echo %PUB_LIB%

set MAIN_CLASS=com.jsecode.bench.BenchMain

::project class path
set "CLASSPATH=%CLASSPATH%;%rootdir%\conf;%PUB_LIB%"
::echo %CLASSPATH%
java -server -Dlog.dir=%logdir% %MAIN_CLASS% 1>%rootdir%/stdout.log 0>%rootdir%/stderr.log

